package com.dongjiantong.sys.model;

import com.dongjiantong.mybatis.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * Created by cao on 2017/11/9.
 */
@Table(name="dic_unit")
public class DicUnit extends BaseEntity {


    //畜种 0 通用,  1猪,2牛,3羊,4家禽,5马
    @Column(name="animal_type")
    private Integer animalType;


    @Transient
    private String animalName;

    private Integer code;
    private String unit;


    public Integer getAnimalType() {
        return animalType;
    }

    public void setAnimalType(Integer animalType) {
        this.animalType = animalType;
    }

    public String getAnimalName() {
        return animalName;
    }

    public void setAnimalName(String animalName) {
        this.animalName = animalName;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }



}
